<template>
  <div class="search">
    <i class="iconfont icon-sousuo search-icon"></i>
    <input class="search-input" type="text" placeholder="请搜索想输入的内容" />
  </div>
</template>

<script>
export default {
  name: "SearchInput",
};
</script>

<style scoped lang="less">
.search {
  width: 100%;
  border-radius: 0.1rem;
  display: flex;
  position: relative;
  color: #000;
  input {
    font-size: 14px;
    height: 0.6rem;
    border-radius: 8px;
    padding-left: 0.6rem;
    box-sizing: border-box;
    flex: 1;
  }
  .search-icon {
    position: absolute;
    top: 0.16rem;
    left: 0.2rem;
    color: #ccc;
  }
}
</style>